<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>

    </style>
</head>

<body>

</body>
<script>
    var json = [{ LOGO: "HUAWEI", price: 3990 }, { LOGO: "XIAOMI", price: 2990 }]

    console.log(json);
    console.log(json[1]);
    console.log(json[1].price);     //2990



    var bigArr = [[[1, 2], [3, 4]], [[5, 6], [7, 8]], [[9, 0]]];

    console.log(bigArr);
    console.log(bigArr[1]);
    console.log(bigArr[1][0]);
    console.log(bigArr[1][0][0]);       //5



    // var goods = [{
    //     name: "手机",
    //     message: {
    //         imgs: [{
    //             src: "ajfhgaivb",
    //             title: "正面图"
    //         }, {
    //             src: "jsgvidb",
    //             title: "背面图"
    //         }]
    //     }
    // }, {}]

    var goods = [{name: "手机",message: {imgs: [{src: "ajfhgaivb",title: "正面图"}, {src: "jsgvidb",title: "背面图"}]}}, {}]

    console.log(goods)
    console.log(goods[0])
    console.log(goods[0].message)
    console.log(goods[0].message.imgs)
    console.log(goods[0].message.imgs[0])
    console.log(goods[0].message.imgs[0].src)


</script>

</html>